(SST) ShlWAPI.pas Version 1.08

Developer Reference
URL_SCHEME Type Definition
The URL_SCHEME type introduces a symbolic name for a signed, 32-bit integer, for compatibility and use in values that are stored/transmitted in the PARSEDURL type.
Scope
Global (i.e. variables of this type can be declared in any unit that uses/includes the unit in which it is defined/declared).
Syntax
type URL_SCHEME = INTEGER;
Values
A variable of this type accepts a single 32-bit (4 byte), signed, integer value in the range from –2147483648 to (and including) 2147483647.
However, typically it is used to store one the following constants. These denote/indicate the use of the corresponding scheme for Uniform Resource Locators (URLs) in the context of the PARSEDURL record type and the ParseURL function .
Constant/Symbolic Name Value Description
URL_SCHEME_INVALID -1  
URL_SCHEME_UNKNOWN 0 The scheme according to which the (network) address was formed is unknown.
URL_SCHEME_FTP 1 The (network) address/resource was specified using the scheme for File Transfer Protocol (FTP) URLs (e.g. ftp://dummydomain.org/root).
URL_SCHEME_HTTP 2 The (network) address/resource was specified using the scheme for Hyper Text Transfer Protocol (HTTP) URLs (e.g. http://www.sampledomain.biz/index.html).
URL_SCHEME_GOPHER 3 The (network) address/resource was specified using the scheme for Gopher URLs. (e.g. gopher://ftp.std.com/1)
URL_SCHEME_MAILTO 4 The (network) address/resource was specified using the scheme for electronic mail (e-mail) URLs (e.g. mailto:clark.kent@dailymirror.com).
URL_SCHEME_NEWS 5 The (network) resource was specified using the scheme for newsgroup (e.g. Usenet) URLs news:de.comm.infosystems.www.authoring.misc (e.g. news:alt.facts.faked.bytrolls.fourtrump.ru)
URL_SCHEME_NNTP 6  
URL_SCHEME_TELNET 7 The (network) address/resource was specified using the scheme for Telecommunication Network (TELNET) URLs (e.g. telnet://locis.loc.gov/ ).
URL_SCHEME_WAIS 8 The (network) address/resource was specified using the scheme for Wide Area Information Server (WAIS) URLs (e.g. ... ).
URL_SCHEME_FILE 9 The (local/network) address/resource was specified using the scheme for file URLs (e.g. file:///X:/TopLevelDir/FirstSubDir/MyPics/GirlFriend.jpg)
URL_SCHEME_MK 10  
URL_SCHEME_HTTPS 11 The (network) address/resource was specified using the scheme for secure Hyper Text Transfer Protocol (HTTPS) URLs (e.g. https://www.securityconcious.org/default.htm).
URL_SCHEME_SHELL 12  
URL_SCHEME_SNEWS 13  
URL_SCHEME_LOCAL 14  
URL_SCHEME_JAVASCRIPT 15  
URL_SCHEME_VBSCRIPT 16  
URL_SCHEME_ABOUT 17 The scheme is that used to display information about the browser, the browser configuration, or other supplementary, browser and/or user specific information (e.g. about:about, about:config, about:cache).
URL_SCHEME_RES 18  
URL_SCHEME_MSSHELLROOTED 19  
URL_SCHEME_MSSHELLIDLIST 20  
URL_SCHEME_MSHELP 21  
URL_SCHEME_MSSHELLDEVICE 22 According to the Microsoft documentation accompanying Ms SDK 6.1, this value is not supported.
URL_SCHEME_WILDCARD 23  
URL_SCHEME_SEARCH_MS 24 The scheme is that usesd to specify search criteria/commands for Microsoft shell/desktop searches (e.g. search-ms:query=flights&subquery=firstclass.search-ms&).
URL_SCHEME_SEARCH 25  
URL_SCHEME_MAXVALUE 26 No valid URL_SCHEME (enumeration) constant exceeds this value. (i.e all values larger than URL_SCHEME_MAXVALUE are therefore invalid).
Remarks
This type definintion was introduced for compatibility with the original, Microsoft C/C++ declaration of the URL_SCHEME enumerated type, as the Pascal language/compiler allocates less memory and does not permit assigning specific (negative) values to the elements of user defined, enumerated, ordinal types.
Requirements
Unit Declared in ShlWAPI.pas
Library ShlWAPI.dcu/ShlWAPI.obj
See Also
PARSEDURL ParseURL
 
Windows APIs: GetLastError, SetLastError

Document/Contents version 1.00
Page/URI last updated on 07.12.2023
 
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to:
webmaster@stoelzelsoftwaretech.com